package org.lvgo;

import org.lvgo.prototype.Shape;

/**
 * Hello world!
 */
public class App {

    public static void main(String[] args) throws CloneNotSupportedException {
        Shape shape = new Shape("圆形");
        shape.print();
        System.out.println("圆形 = " + shape);
        Shape shape1 = (Shape) shape.clone();
        shape1.setName("矩形");
        shape1.print();
        System.out.println("矩形 = " + shape1);
    }
}
